<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 500px;
            height: 500px;
            background-color: aquamarine;
            border: 4px red solid;
            margin: auto;
            position: relative;
            background-image: url("../image/紫色角星.png");
            background-position: center center;
            background-repeat: no-repeat;
        }
        .d1,.d2,.d3,.d4{
            animation-name: revolution;
            animation-duration: 2s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
            
            width: 64px;
            height: 64px;
            background-image: url("../image/蓝色角星.png");
            background-repeat: no-repeat;
            position: absolute;
        }
        .d1{
            left: 10px;
            top: 10px;

        }
        .d2{
            left: 10px;
            bottom: 10px;
        }
        .d3{
            right: 10px;
            top: 10px;
        }
        .d4{
            right: 10px;
            bottom: 10px;
        }
        .text{
            margin-top: 35%;
            text-align: center;
        }
        @keyframes revolution{
            0%{
              transform: rotate(0deg);  
            }
            100%{
                transform: rotate(360deg);
            }
        }
    </style>
</head>
<body>
    <h1 style="text-align: center;">五角星</h1>
    <div class="box">
        <p class="text">我是一个兵，我爱老百姓。</p>
        <div class="d1"></div>
        <div class="d2"></div>
        <div class="d3"></div>
        <div class="d4"></div>
    </div>
</body>
</html>